package com.infore.remoteControl.serviceBetweenInterface.controller;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import com.infore.remoteControl.dto.InstructionsSendDto;
import com.infore.remoteControl.util.ResultEntity;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * 远程控制与质量控制控制器
 * @author Cold
 *
 */
@Api(value = "远程控制与质量控制控制器接口", tags = {"远程控制与质量控制控制器接口" })
@RestController
@RequestMapping("/remoteAndQuality")
public class RemoteControlAndQualityController {
	
	@ApiOperation(value = "发送和接收指令")
	@ResponseBody
	@RequestMapping(value = "/instructionsData", method = RequestMethod.POST)
	public ResultEntity sendAndReceiveInstruction(@RequestBody(required = false) InstructionsSendDto instructionsSendDto) {
		return null;
	}
	
	@ApiOperation(value = "发送和接收执行结果")
	@ResponseBody
	@RequestMapping(value = "/results", method = RequestMethod.POST)
	public ResultEntity sendAndReceiveResults(@RequestBody(required = false) InstructionsSendDto instructionsSendDto) {
		return null;
	}
}
